﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Sausage.Web.Models
{
    /// <summary>
    /// 应急反应模型
    /// </summary>
    /// <remarks></remarks>
    /// <history>
    /// [zanezeng]               2012/03/09 11:52    创建
    /// </history>
    public class EmergencyReactionListRow
    {
        /// <summary>
        /// 获得或者设置应急反应编号。
        /// </summary>
        /// <value>应急反应编号。</value>
        /// <remarks></remarks>
        [DataMember]
        public Guid ReactionID
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置天气预警。
        /// </summary>
        /// <value>天气预警。</value>
        /// <remarks></remarks>
        [DataMember]
        public string WeatherWarning
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置天气预警标识地址。
        /// </summary>
        /// <value>天气预警标识地址。</value>
        /// <remarks></remarks>
        [DataMember]
        public string WeatherWarningUrl
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置响应等级。
        /// </summary>
        /// <value>反应等级。</value>
        /// <remarks></remarks>
        [DataMember]
        public string ReactionLevel
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置预警等级。
        /// </summary>
        /// <value>反应等级。</value>
        /// <remarks></remarks>
        [DataMember]
		public string AlarmLevel
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置发布人。
        /// </summary>
        /// <value>发布人。</value>
        /// <remarks></remarks>
        [DataMember]
        public string Poster
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置发布日期。
        /// </summary>
        /// <value>发布日期。</value>
        /// <remarks></remarks>
        [DataMember]
        public DateTime PostDate
        {
            get;
            set;
        }

        [DataMember]
        public int ExpireDuration
        {
            get;
            set;
        }

        [DataMember]
        public DateTime? ExpireDate
        {
            get;
            set;
        }
    }
}